package com.alvin.mbp.entity;

import java.util.Date;
import java.util.Map;

import com.alvin.mbp.util.JDBCName;

@JDBCName("t_member")
public class PointMember extends BaseEntity {

	private String userName;
	private String gender;
	private String weixin;
	private String mobile;
	private Date babyBirth;
	private String password;
	private double balance;

	private String role;
	private Date dateCreated;
	private Date dateUpdated;
	private Integer createdBy;
	private Integer updatedBy;

	private String memo;

	public Map<String, Object> getEntityMap() {
		Map<String, Object> map = super.getEntityMap();
		map.put("user_name", userName);
		map.put("mobile", mobile);
		map.put("gender", gender);
		map.put("balance", balance);
		map.put("weixin", weixin);
		map.put("baby_birth", babyBirth);
		map.put("memo", memo);

		return map;
	}

	public String getUserName() {
		return userName;
	}

	public double getBalance() {
		return balance;
	}

	public void setBalance(double balance) {
		this.balance = balance;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getWeixin() {
		return weixin;
	}

	public void setWeixin(String weixin) {
		this.weixin = weixin;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Date getBabyBirth() {
		return babyBirth;
	}

	public void setBabyBirth(Date babyBirth) {
		this.babyBirth = babyBirth;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public Date getDateCreated() {
		return dateCreated;
	}

	public void setDateCreated(Date dateCreated) {
		this.dateCreated = dateCreated;
	}

	public Date getDateUpdated() {
		return dateUpdated;
	}

	public void setDateUpdated(Date dateUpdated) {
		this.dateUpdated = dateUpdated;
	}

	public Integer getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(Integer createdBy) {
		this.createdBy = createdBy;
	}

	public Integer getUpdatedBy() {
		return updatedBy;
	}

	public void setUpdatedBy(Integer updatedBy) {
		this.updatedBy = updatedBy;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

}
